package com.ithaohao.service;

import com.ithaohao.pojo.Result;
import com.ithaohao.pojo.User;
import jakarta.servlet.http.HttpSession;

public interface UserService {

    boolean userExists(String username);

    void login(User user);

    Result checkAndLogin(User user, HttpSession session);
}
